package com.youthHostel.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.youthHostel.pojo.user;

public interface UserDao {

	user queryUserMes(@Param("name")String name, @Param("pass")String pass);
	
	List<user> findAll();
	
	List<user> findByName(String name);
	
	int deleteByPrimaryKey(Integer u_id);

    int insert(user record);

    user selectByPrimaryKey(Integer u_id);

    int updateByPrimaryKey(user record);
	
	
}
